package com.fcat.common.user.service;


import com.fcat.springboot.mybatis.service.TsuantoneBaseService;
import com.fcat.common.user.entity.Dict;

import java.util.List;
import java.util.Map;

public interface DictService extends TsuantoneBaseService<Dict> {
    public List<Dict> getListByTypeCode(String typeCode);
    public Map<String,String> getMapByTypeCode(String typeCode);
    public List<Dict> getListByTypeCodes(List<String> typeCodes);
    public String getNameByValue(String value);
    public List<Dict> getListByTypeCodeAndName(String typeCode,String name);

    Dict getDictByTypeCodeAndValue(String typeCode,String value);
}